package com.example.demo.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString

@TableName(value = "user_table")
public class User {
    private Integer id;
    private String username;
    private String password;
    private String gender;
    @TableField(exist = false)
    private int start;
    @TableField(exist = false)
    private int limit;
    private String avatar;
    private String province;
    private String city;
    private String county;
    private Date date;
    @TableField(value = "test_switch")
    private Boolean testSwitch;
    @TableField(exist = false)
    private Integer authorityId;
    @TableField(exist = false)
    private String authorityName;
}
